package cn.edu.nwsuaf.studentcenter.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Manager entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "manager", catalog = "exam")
public class Manager implements java.io.Serializable {

	// Fields

	private String mno;
	private String mname;
	private String mpassword;

	// Constructors

	/** default constructor */
	public Manager() {
	}

	/** full constructor */
	public Manager(String mno, String mname, String mpassword) {
		this.mno = mno;
		this.mname = mname;
		this.mpassword = mpassword;
	}

	// Property accessors
	@Id
	@Column(name = "mno", unique = true, nullable = false, length = 50)
	public String getMno() {
		return this.mno;
	}

	public void setMno(String mno) {
		this.mno = mno;
	}

	@Column(name = "mname", nullable = false, length = 50)
	public String getMname() {
		return this.mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	@Column(name = "mpassword", nullable = false, length = 50)
	public String getMpassword() {
		return this.mpassword;
	}

	public void setMpassword(String mpassword) {
		this.mpassword = mpassword;
	}

}